<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<base href="<%=basePath%>/html/~sale/">
	<head>
		<title>jb-aptech毕业设计项目</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="../css/style.css" rel="stylesheet" type="text/css">
		<script src="../script/common.js"></script>

	</head>


	<body>

		<div class="page_title">
			销售机会管理
		</div>
		<div class="button_bar">
			<button class="common_button" onclick="help('帮助');">
				帮助
			</button>
<<<<<<< .mine
			<button class="common_button" onclick="to('~sale/add.jsp');">
=======
			<button class="common_button" onclick="to('getLevelToOption.action');">
>>>>>>> .r58
				新建
			</button>
			<button class="common_button" onclick="reload();">
				查询
			</button>
		</div>
		<table class="query_form_table">
			<tr>
				<th>
					客户名称
				</th>
				<td>
					<input />
				</td>
				<th>
					概要
				</th>
				<td>
					<input />
				</td>
				<th>
					联系人
				</th>
				<td>
					<input name="T1" size="20" />
				</td>
			</tr>
		</table>
		<br />
		<table class="data_list_table">
			<tr>
				<th>
					编号
				</th>
				<th>
					客户名称
				</th>
				<th>
					概要
				</th>
				<th>
					负责人
				</th>
				<th>
					公司电话
				</th>
				<th>
					创建时间
				</th>
				<th>
					操作
				</th>
			</tr>

			<c:forEach items="${sellList}" var="l" >
				<tr>
					<td class="list_data_number">
						${l.uuid}
					</td>

					<td class="list_data_text">
						${l.customname}
					</td>

					<td class="list_data_text">
						${l.brief}
					</td>

					<td class="list_data_text">
						${l.charger}
					</td>

					<td class="list_data_text">
						${l.telephone}
					</td>
					<td class="list_data_text">
						${l.time}
					</td>
					<td class="list_data_op">
						<img onclick="to('getIdToDispatch.action?uuid=${l.uuid}');" title="指派"
							src="../images/bt_linkman.gif" class="op_button" />
						<img onclick="to('edit.action?uuid=${l.uuid}');" title="编辑"
							src="../images/bt_edit.gif" class="op_button" />
						<img onclick="to('del.action?uuid=${l.uuid}');" title="删除"
							src="../images/bt_del.gif" class="op_button" />

					</td>
				</tr>
			</c:forEach>


			<tr>
				<th colspan="7" class="pager">
					<div class="pager">
						共59条记录 每页
						<input value="10" size="2" />
						条 第
						<input value="1" size="2" />
						页/共5页
						<a href="#">第一页</a>
						<a href="#">上一页</a>
						<a href="#">下一页</a>
						<a href="#">最后一页</a> 转到
						<input value="1" size="2" />
						页
						<button width="20" onclick=
	reload();;
>
							GO
						</button>
					</div>
				</th>
			</tr>
		</table>
	</body>
</html>